import os
import time

print('Starting...')

ret_val = os.fork()
if ret_val:
    print('Hello From Parent')
    result = os.waitpid(-1,0)
    print(result)
    # result = os.waitpid(-1,1)
    # print(result)
    time.sleep(60)
    print('Parent Done')
else:
    print('Hello From Child')
    time.sleep(10)
    print('Child Done')
